﻿//-----------------------------------------------------------------------------------
// <copyright file="Users.cs" company="Go Enterprises">
// * copyright: (C) 2018 公司名称 版权所有。
// * version  : 1.0.0.0
// * author   : Mr.King
// * fileName : Users.cs
// * history  : created by Mr.King 2024-11-26 18:34:45
// </copyright>
//-----------------------------------------------------------------------------------

using System;
using System.Runtime.Serialization;

namespace ImModels.Service.Models.Data
{
    /// <summary>
    /// Users 用户信息表，用于个人信息存储相关
    /// </summary>
    public class Users
    {
        
		/// <summary>
		/// 用户内部ID 本系统 和 WsSocketId 相等
		/// </summary>
		public long KID { get; set;} = 0;

		/// <summary>
		/// 状态,0正常 1禁用
		/// </summary>
		public short States { get; set;} = 0;

		/// <summary>
		/// 是否删除 0未删除 1已删除
		/// </summary>
		public short IsDeleted { get; set;} = 0;

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set;} = DateTime.Now;

		/// <summary>
		/// 登录时间
		/// </summary>
		public string LoginTime { get; set;} = "";

		/// <summary>
		/// 所属企业ID
		/// </summary>
		public long EnterpriseId { get; set;} = 0;

		/// <summary>
		/// 职位，仅显示
		/// </summary>
		public string JobName { get; set;} = "";

		/// <summary>
		/// 是否为管理员 0非管理员 1管理员
		/// </summary>
		public short IsAdmin { get; set;} = 0;

		/// <summary>
		/// 业务的用户ID，和企业ID搭配为唯一ID
		/// 企业注册的时候 默认生成Id为0的 系统消息 账号
		/// </summary>
		public string BizUserId { get; set;} = "";

		/// <summary>
		/// 用户账号，一般为手机号，被关联创建是为空
		/// </summary>
		public string Account { get; set;} = "";

		/// <summary>
		/// 联系电话
		/// </summary>
		public string ContactTel { get; set;} = "";

		/// <summary>
		/// 冗余，登录密码
		/// </summary>
		public string LoginPwd { get; set;} = "";

		/// <summary>
		/// 员工姓名
		/// </summary>
		public string FullName { get; set;} = "";

		/// <summary>
		/// 昵称
		/// </summary>
		public string NickName { get; set;} = "";

		/// <summary>
		/// 头像
		/// </summary>
		public string HeadImg { get; set;} = "";

		/// <summary>
		/// 用户信息，仅显示
		/// </summary>
		public string UserInfo { get; set;} = "";


        /*BC47A26EB9A59406057DDDD62D0898F4*/
    }
}
